<?php

/**
 * faq actions.
 *
 * @package    sf_sandbox
 * @subpackage faq
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 2692 2006-11-15 21:03:55Z fabien $
 */
class faqActions extends sfActions
{
    public function executeIndex()
    {
        $c = new Criteria();
        $c->add(CmsFaqPeer::STATUS_CODE, Globals::STATUS_ACTIVE);
        $c->addAscendingOrderByColumn(CmsFaqPeer::CREATED_ON);
        $this->faqs = CmsFaqPeer::doSelect($c);
    }
}
